#include<map>
#include<iostream>
using namespace std;
int main()
{
   map <char,int> maps;
   maps['d']=10;
   maps['e']=20;
   maps['a']=30;
   maps['b']=40;
   maps['c']=50;
   maps['r']=60;
   maps.insert(pair<char,int>('f',70));
   maps.insert(map<char,int>::value_type('g',80));
   for(map<char,int>::iterator it=maps.begin();it!=maps.end();it++)
   {
       cout<<it->first<<" "<<it->second<<endl;
   }
   cout << endl;
   cout << maps['a'] << endl;
   
   map <int,int> mp;
   for(int i=0;i<10;i++)
   {
   	    cin >> mp[i];
   }
   for(int i=0;i<10;i++)
   {
   	    cout << mp[i];
   }
   return 0;
}
